package com.example.test.实体责任链.handelBean;

import cn.hutool.json.JSONUtil;
import com.example.test.bean.User;
import com.example.test.实体责任链.AbstractHandel;
import org.springframework.stereotype.Service;

@Service
public class Handel333 extends AbstractHandel {

    @Override
    public boolean doHandel(User user) {
        user = new User();
        user.setId("3");
        user.setName("你好");
        System.out.println(JSONUtil.toJsonStr(user));
        return true;
    }
}
